projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9eb610
)
* process.c (check_for_dns): Free the result data.
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 30 Jan 2016 01:39:52 +0000
(
02:39
+0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 30 Jan 2016 01:39:52 +0000
(
02:39
+0100)
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index 90e18d720144ac70ddc8fc6c6cbbbccc289d0915..dafd5330d3091ce71a1aa27ab3793087a8f6f3c5 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-4563,12
+4563,14
@@
check_for_dns (Lisp_Object proc)
}
ip_addresses = Fnreverse (ip_addresses);
+ freeaddrinfo (p->dns_request->ar_result);
+ /* Free the calling array, too? FIXME */
connect_network_socket (proc, ip_addresses);
return 1;
}
pset_status (p, Qfailed);
- return
0
;
+ return
1
;
}
#endif /* HAVE_GETADDRINFO_A */